package com.zxk.version3.provider;

import com.zxk.version3.api.BlogService;
import com.zxk.version3.core.Blog;

/**
 * @author： 朱小康
 * @create： 2024/5/29 17:44
 */
public class BlogServiceImpl implements BlogService {

    @Override
    public Blog getBlogById(Integer id) {
        Blog blog = Blog.builder().id(id).title("我的博客").useId(22).build();
        System.out.println("客户端查询了"+id+"博客");
        return blog;
    }
}
